<!DOCTYPE html>
<html>
<head>
<title><%= title '后台管理' %></title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<%= stylesheet_link_tag 'blueprint/screen', :media => 'screen' %>
<%= stylesheet_link_tag 'blueprint/print',  :media => 'print' %>
<!--[if lt IE 8]>
<%= stylesheet_link_tag 'blueprint/ie' %>
<![endif]-->
<%= stylesheet_link_tag 'jquery-ui/jquery-ui',  :media => 'screen' %>
<%= stylesheet_link_tag :all %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
</head>
<body>
<% if !flash.empty? %>
  <div id="flash_message">
  <% for name in flash %>
  <div class="<%= name.first %> box-center">
     <%= flash[name.first] %>
  </div>
  <% end %>
  </div>
  <% flash.discard %>
<% end %>
<%= render "layouts/admin/header" %>
<div class="main">
  <%= yield %>
</div>
<%= render "layouts/admin/footer" %>
</body>
</html>
